package org.viettan.android.main.io;


/**
 * Wrapper to log messages to the Android console with a common "viettan" tag.
 */
public class Logger {

    private static final String APPLICATION_NAME_TAG = "viettan";

    /**
     * Logs a message with an info level.
     * 
     * @param message
     *            message to be logged
     */
    public void info(String message) {
	android.util.Log.i(APPLICATION_NAME_TAG, message);
    }

    /**
     * Logs a message with an warning level.
     * 
     * @param message
     *            message to be logged
     */
    public void warn(String message) {
	android.util.Log.w(APPLICATION_NAME_TAG, message);
    }

    /**
     * Logs a message with an severe level.
     * 
     * @param message
     *            message to be logged
     */
    public void severe(String message) {
	android.util.Log.e(APPLICATION_NAME_TAG, message);
    }
}
